home *** CD-ROM | disk | FTP | other *** search
- #define BASE_RES_ID 128
- #define BASE_PICT_ID 1000
- #define REMOVE_ALL_EVENTS 0
- #define NIL 0L
-
- #include <MacProto.h>
-
- void ToolBoxInit( void );
- void main( void );
- void Show_help( short help_dlog_id, short help_text_id,
- short base_pict_id, StringPtr default_filename,
- StringPtr default_menuname );
-
- /* ------------------------------------------------------------------ */
- void main()
- {
- ToolBoxInit();
- Show_help( BASE_RES_ID, BASE_RES_ID, BASE_PICT_ID,
- (StringPtr)"\pShow_help help", (StringPtr)"\pTitle page");
- }
-
- /* ------------------------------------------------------------------ */
- void ToolBoxInit()
- {
- InitGraf( &thePort );
- InitFonts();
- FlushEvents( everyEvent, REMOVE_ALL_EVENTS );
- InitWindows();
- InitMenus();
- TEInit();
- InitDialogs( NIL );
- InitCursor();
- }
-